/**
 * 
 */
package game.kill.enums;

/**
 * @author leiruiqi
 *
 */
public enum GameStepEnum {

	dark_work(60),
	
	//killed_will,
	
	free_speak(120),
	
	vote(60),
	
	pk_speak(120),
	
	pk_vote(60),
	//vote_will,
	
	;
	
	private Integer time;
	
	
	
	public Integer getTime() {
		return time;
	}


	private GameStepEnum(Integer time) {
		this.time = time;
	}

	public static GameStepEnum getByName(String name){
		for(GameStepEnum gameStepEnum:GameStepEnum.values()){
			if(gameStepEnum.name().equals(name)){
				return gameStepEnum;
			}
		}
		return null;
	}
	
	
	
	
}
